import 'package:fl_dit_verify_example/MainPage.dart';
import 'package:get/get_navigation/src/routes/get_route.dart';
import 'package:get/get_navigation/src/routes/observers/route_observer.dart';

class AppRouter {
  static const INITIAL = '/introPage';

  static final pages = [
    GetPage(name: '/introPage', page: () => MainPage()),
  ];

  static void observer(Routing? routing) {
    // 路由切换都会调用此方法
    // routing很多属性挺有用的
  }
}
